body {
    background-color: black;
}

body, html {
    height: 100%;
    margin: 0;
}

.greeting-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-image-wrap,
.bottom-image-wrap {
    flex: 1;
    overflow: hidden;
}

.top-image,
.bottom-image {
    height: auto;
    opacity: 0;
    transition: all 1s ease-in-out;
}

.top-image {
    width: 100%;
    margin-top: 20%;
    margin-bottom: 15%;
    transform: scale(0.5);
    transform-origin: center center; /* 设置变换原点为中心 */
}

.bottom-image {
    margin-left: 20%;
    width: 60%;
    transform: scale(1);
}

.bottom-image-wrap {
    margin-top: 10%;
}

/* 定义上下摆动的动画 */
@keyframes tilt {
    0%, 50%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(20deg);
    }
    75% {
        transform: rotate(-20deg);
    }
}

.music-button {
    width: 8vh;
    height: 8vh;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    background-image: url('images/03.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}